﻿using System;
namespace Renci.Data.Interop.OpenGIS.Gml
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml")]
    [System.Xml.Serialization.XmlRootAttribute("TimeCalendarEra", Namespace = "http://www.opengis.net/gml", IsNullable = false)]
    public class TimeCalendarEraType : DefinitionType
    {
        /// <remarks/>
        public TimeCalendarEraType()
        {
            this.ReferenceDate = new System.DateTime(0);
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ReferenceEvent")]
        public StringOrRefType ReferenceEvent { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("referenceDate", DataType = "date")]
        [System.ComponentModel.DefaultValueAttribute(typeof(System.DateTime), "0001-01-01")]
        public DateTime ReferenceDate { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("julianReference")]
        public decimal JulianReference { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("epochOfUse")]
        public TimePeriodPropertyType EpochOfUse { get; set; }
    }
}
